import Taro from '@tarojs/taro';

async function setItem(key: string, value: string) {
  return Taro.setStorageSync(key, value);
}

async function getItem(key: string) {
  return Taro.getStorageSync(key);
}

async function removeItem(key: string) {
  return Taro.removeStorageSync(key);
}


export default {
  setItem,
  getItem,
  removeItem,
};
